var http = require('http')
    , counter = 0;
var server = http.createServer(function(req, res) {
    /* chrome will automaticly request /favicon.ico*/
    console.log(counter);
    if("/" == req.url) {
        res.write('I have been accessed ' + (counter++) + ' times.');
        res.end();
    }
});
server.listen(8899);